i1 = imread('D1.gif');
i2 = imread('D3.gif');
i3 = imread('D6.gif');

c1 = imcrop(i1, [120, 240, 63, 63]);
c2 = imcrop(i2, [540, 380, 63, 63]);
c3 = imcrop(i3, [200, 400, 63, 63]);

img = [c3 c2 c1];

imwrite(img, 'img1.gif');